package com.sast.manage_backend.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName temp_humid
 */
@TableName(value ="temp_humid")
@Data
public class TempHumid {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "device_id")
    private Integer deviceId;

    /**
     * 
     */
    @TableField(value = "temperature")
    private Double temperature;

    /**
     * 
     */
    @TableField(value = "humidity")
    private Double humidity;

    /**
     * 
     */
    @TableField(value = "datetime")
    private Date datetime;
}